package com.dzj.fishingcommunity.service;

import com.dzj.fishingcommunity.model.CoolFishSport;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import java.util.List;

public interface CoolFishSportService {
    Page<CoolFishSport> getAllCoolFishSports(Pageable pageable);
    CoolFishSport getCoolFishSportById(String id);
    CoolFishSport addCoolFishSport(CoolFishSport coolFishSport);
    CoolFishSport updateCoolFishSport(String id, CoolFishSport coolFishSport);
    void deleteCoolFishSport(String id);
}